package com.wzl.producer.service.rabbitMqService.impl.basicsProducer;

import com.wzl.common.pojo.VkSmbmsUser;
import com.wzl.producer.mapper.rabbitMqMapper.basicsProducer.MqBasicsProducerMapper;
import com.wzl.producer.service.rabbitMqService.basicsProducer.MqBasicsProducerService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * 基础用法生产者接口实现类
 *
 * @author weizhongli
 * @since 2022-09-04 17:47
 */
@Service
public class MqBasicsProducerServiceImpl implements MqBasicsProducerService {

    @Autowired
    private MqBasicsProducerMapper mqBasicsProducerMapper;

    @Override
    public VkSmbmsUser queryUserById(int id) {
        VkSmbmsUser user = mqBasicsProducerMapper.queryUserById(id);
        return user;
    }
}